#ifndef TRIANGULO_H
#define TRIANGULO_H

/**
*   Classe que representa um triangulo, guardando as informacoes das posicoes
*   de seus vertices no array de pontos(vertices).
*/
class Triangulo
{
private:
    unsigned int vertice1;
    unsigned int vertice2;
    unsigned int vertice3;

public:
    Triangulo();
    Triangulo(unsigned int vertice1, unsigned int vertice2, unsigned int vertice3);
    ~Triangulo();

    unsigned int getVertice1();
    unsigned int getVertice2();
    unsigned int getVertice3();

    void setVertice1(unsigned int val);
    void setVertice2(unsigned int val);
    void setVertice3(unsigned int val);

    void setTriangulo(unsigned int v1, unsigned int v2, unsigned int v3);
    void setTriangulo(Triangulo t);
};

#endif // CTRIANGULO_H
